package com.asia5b.a5mall.middleware.event

/**
 * Created by zhangyuncai on 2020/7/6.
 * 订单中的事件
 */

//创建订单
class CreateOrderEvent

//订单支付
data class PayEvent(val state : PayState)

enum class PayState{
    SUCCESS,FAILD,CANCLE
}

//订单支付
class AsiaPayEvent(var orderSn: String)

//订单打包
class OrderParcelEvent

//订单确认收货
class OrderRogEvent

//订单取消售后
class OrderRefundEvent(var orderSn:String)

//申请售后,退货退款事件
class OrderAfterSaleEvent

//订单初评/追评
class PostCommentEvent

